package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author ziChuan
 * @Create: 2021/7/20 15:46
 * @Description: 远程调用服务
 *                 1.引入open-feign
 *                 2.编写如下的接口
 *                 3.声明接口的每一个方法是调用那个远程服务的哪个请求
 *                 4.开始远程调用功能
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    R membercoupons();
}
